﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;


/// <summary>
/// Сводное описание для UserInfo
/// </summary>
[Serializable]
public class UserInfo
{
    /// <summary>
    /// Worker.CODE  код пользователя 
    /// </summary>
    public int ActiveUser = -1;
    public int PeopleCode = -1;
    public int ActiveKontragent = -1;
    public int KontragentType = -1;
    public string KontrName = string.Empty;
    public string UserFIO = string.Empty;
    public string UserShortFIO = string.Empty;
    public Disp disp;

    public class Disp
    {
        public string Login = string.Empty;
        public string Pass = string.Empty;
        public int UserId = -1;
        public int Kontragent = -1;
    }
    public UserInfo()
    {
        disp = new Disp();
    }
}